<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">标题:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control " rows="3" name="row[title]"
                                cols="50" data-rule="required"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">内容:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control " rows="5" name="row[content]"
                                cols="50" data-rule="required"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="text" class="control-label col-xs-12 col-sm-2">跳转url:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="text" name="row[url]" value=""   placeholder="/pages/shop/shopClass"/>
        </div>
    </div>
    <div class="form-group">
        <label for="email" class="control-label col-xs-12 col-sm-2">推送类型:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-question_id" data-rule="required" class="form-control"  name="row[type]">
                <option value="" >请选择</option>
                <option value="1" >群推</option>
                <option value="2" >单推</option>
                <option value="3" >多推</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="email" class="control-label col-xs-12 col-sm-2">推送的用户:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control " rows="5" name="row[user_ids]"
                                cols="50" placeholder="输入需要推送的用户ID,多个逗号隔开"></textarea>
        </div>
    </div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
